build and push Docker Desktop module image on release#13726
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a release-time build/publish path for a Docker Desktop “module” image that packages the Compose CLI plugin binary plus metadata, so Docker Desktop’s update system can fetch the correct plugin per platform from Docker Hub.
Changes:
- Added new Dockerfile stages to assemble a
moduleimage containing/cli-plugins/compose/$TARGETOS/*, module metadata, and LICENSE. - Added a new
docker-bake.hcltarget to build/push the multi-platform module image (image-module-cross). - Updated the merge workflow to publish
docker/compose-desktop-moduleon version tag pushes.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Dockerfile | Adds module-releaser and module stages to package the plugin + metadata into a scratch image. |
| docker-bake.hcl | Introduces image-module-cross bake target pointing at the new module stage with selected platforms. |
| desktop-module/module-metadata.json | Adds module metadata consumed by Docker Desktop’s update/module system. |
| .github/workflows/merge.yml | Adds tag-only jobs to build and push docker/compose-desktop-module using the shared bake workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
075f603 to
506dff5
Compare
crazy-max
previously approved these changes
Apr 10, 2026
Add workflow to build and push docker/compose-desktop-module image to Docker Hub on version tag push, used by Docker Desktop's update system to deliver the Compose CLI plugin. Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
506dff5 to
511041a
Compare
crazy-max
approved these changes
Apr 10, 2026
ndeloof
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What I did
Add workflow to build and push docker/compose-desktop-module image to Docker Hub on version tag push, used by Docker Desktop's update system to deliver the Compose CLI plugin.
Related issue
N/A
(not mandatory) A picture of a cute animal, if possible in relation to what you did
